<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    
    <title>显示所有的用户</title>
  </head>
  
   <body style="text-align: center;">
  	<center>
  		<h4>用户列表</h4>
  		<table border="1" width="600px" cellpadding="10" cellspacing="0">
   		<tr>
   			<td>用户ID</td>
   			<td>用户账户</td>
   			<td>注册时间</td>
   			<td>操作</td>
   		</tr>
   		<c:forEach var="customer" items="${customers }">
   		<tr>
   			<td>${customer.id }</td>
   			<td>${customer.username }</td>
   			<td>${customer.registdate }</td>
   			<td>
   				<input type="button" value="禁用" onclick="send('${order.id }')" ${order.status?'disabled':'' } />
   			</td> 
   		</tr>
   		</c:forEach>
   	</table>
  	</center>
   	
  </body>
</html>
